package com.gk.javaservice.service;

import com.gk.javaservice.po.AdminUsers;

import java.util.List;

public interface AdminUsersService extends BaseService<AdminUsers> {

    AdminUsers findByName(String name);
    List<AdminUsers> searchByDep(String id);
    int countUserByName(String name);
    AdminUsers login(AdminUsers u);
    AdminUsers autoLogin(AdminUsers u);
    List<AdminUsers> hasAllToPage(int offset, int limit, String searchMsg);
    int queryTotal(String searchMsg);
}
